package ldh.im.dto;

import ldh.im.ImConfig;

import java.util.Map;

/**
 * 客户端输出表头
 */
public class Header {

    private byte version = ImConfig.CLIENT_VERSION;         // 版本信息
    private Integer authCode;     // 认证编码
//    private Short coder;          // 内容编码方式
    private Map<String, String> properties;

    public byte getVersion() {
        return version;
    }

    public void setVersion(byte version) {
        this.version = version;
    }

    public Integer getAuthCode() {
        return authCode;
    }

    public void setAuthCode(Integer authCode) {
        this.authCode = authCode;
    }

//    public Short getCoder() {
//        return coder;
//    }
//
//    public void setCoder(Short coder) {
//        this.coder = coder;
//    }

    public Map<String, String> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }
}
